check process COCO with pidfile /opt/coco/coco.pid
  start program = "/usr/sbin/service coco start"
  stop program = "/usr/sbin/service coco stop"
  if failed
    port {{ coco_ssh_port }}
  for 10 cycles then restart
  if failed
    port {{ coco_http_port }}
  for 10 cycles then restart
  if 2 restarts within 20 cycles then unmonitor
